package proxy_static;

public class FindGirlFriendImpl implements FindGirlFriend{

    //真实对象实现具体的功能
    @Override
    public void getMarried(String boyName, String girlName) {
        System.out.println(boyName +"和"+girlName+"结婚了");
    }
}
